{extend name="public:_base" /}

{block name="js"}
{include file="public/_validform"}
{/block}
{block name="main"}
<div class="page-container">

    <form action="{:url(\''.\\think\\Request::instance()->controller().'/save')}" method="post" class="form form-horizontal" id="form">

        <table class="table table-border table-bordered table-bg table-style">
            <thead>
                <tr>
                    <th colspan="2" scope="col">填写信息</th>
                </tr>
            </thead>

            <tbody>
                <tr>
                    <th>
                        <span class="c-red">*</span>客服名称：
                    </th>
                    <td>
                        <input type="text" class="input-text" value="{$data.name ?? ''}" placeholder="" datatype="s4-10" name="name">
                    </td>
                </tr>

                <tr>
                    <th>
                        <span class="c-red">*</span>QQ：
                    </th>
                    <td>
                        <input type="text" class="input-text" value="{$data.QQ ?? ''}" placeholder="" datatype="n5-14" name="QQ">
                    </td>
                </tr>

                <tr>
                    <th>
                        MSN：
                    </th>
                    <td>
                        <input type="text" class="input-text" value="{$data.msn ?? ''}" placeholder="" name="msn">
                    </td>
                </tr>

                <tr>
                    <th>
                        淘宝旺旺：
                    </th>
                    <td>
                        <input type="text" class="input-text" value="{$data.taobao ?? ''}" placeholder="" name="taobao">
                    </td>
                </tr>

                <tr>
                    <th>
                        排序：
                    </th>
                    <td>
                        <input type="number" class="input-text" value="{$data.sort ?? ''}" placeholder="" name="sort">
                        <div style="font-size: 14px;float: left;margin: 5px 0 0 0;">
                            <span class="c-red">*</span>  不填写, 默认排序为最高
                        </div>
                    </td>
                </tr>
            </tbody>

            <tfoot>
                <tr>
                    <th></th>
                    <td>
                        {:token()}
                        <input name="id" value="{$data.id ?? ''}"  type="hidden"  />
                        <input class="btn radius btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
                        <input class="btn radius btn-default radius" type="reset" value="&nbsp;&nbsp;重置&nbsp;&nbsp;">
                        <!-- <button onClick="layer_close();" class="btn radius btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button> -->
                    </td>
                </tr>
            </tfoot>

        </table>

    </form>
</div>
{/block}
